import java.io.IOException;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class ServerMain {

    public static void main(String[] args) throws IOException {
        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(
                new String[] { "spring-dubbo.xml","spring-mybatis.xml" });
        context.start();

        System.in.read(); // 按任意键退出
    }
}